﻿using RearLivestock.Common.Domains.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.hhx
{
    /// <summary>
    /// 猪只转舍
    /// </summary>
    public class ChangeHouses:BaseEntity
    {
        /// <summary>
        /// 猪只转舍id
        /// </summary>
        [Key]
        public int ChangeHouseId { get; set; }
        /// <summary>
        /// 转舍日期
        /// </summary>
        public DateTime ChangeHouseDate { get; set; }
        /// <summary>
        /// 猪只耳号
        /// </summary>
        public int BasicInforId { get; set; }
        /// <summary>
        /// 转舍类型
        /// </summary>
        public int ChangeHouseTypeId { get; set; }
        /// <summary>
        /// 转入栋舍id
        /// </summary>
        public int BedroomId { get; set; }
        /// <summary>
        /// 转入栏位id
        /// </summary>
        public int FieldId { get; set; }
        /// <summary>
        /// 转出栋舍
        /// </summary>
        public string TurnBuilding {  get; set; }
        /// <summary>
        /// 转出栏位
        /// </summary>
        public string TurnColumn {  get; set; }
        /// <summary>
        /// 品种名称
        /// </summary>
        public string VarietyName { get; set; } = string.Empty;
        /// <summary>
        /// 性别
        /// </summary>
        public int Gender {  get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsChangeHouse { get; set; } 
    }
}
